package ua.edu.nuos.tees.jdmmon.vo.interfaces;

 /**
 * Interface for input (from device) RTU or ASCII package
 *
 * @author Timur Yarosh
 *         21.02.13
 */
public interface InputPackage {
     /**
      * Get device address
      * @return device address
      */
     public int getDeviceAddress();
     /**
      * Get requested modbus function
      * @return modbus function
      */
     public int getModbusFunction();
     /**
      * Get response data size
      * @return data size in bytes
      */
     public int getDataSize();
     /**
      * Get response data
      * @return response data
      */
     public byte[] getResponseData();
     /**
      * Get CRC
      * @return CRC
      */
     public int getCRC();
}
